<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
if (isset($_SESSION['usuario'])) {
?>
    <div><?php echo $_SERVER['usuario'] ?></div>
    <div><a href="../logout.php">Logout</a></div>
<?php
} else {
?>
    <form method='post' action='../controller.php'>
        CPF:<input name='cpf' id='cpf' type='text'>
        <br>
        Senha:<input name='senha' id='senha' type='password'>
        <br>
        <input type='submit'>
    </form>    
<?php
}
?>
